package com.examples;

import toman.Ref;

import java.util.List;

public class SimpleAlbumWithPhotosTO extends SimpleAlbumTO {

    @Ref("p.album.name=:name")
    private List<SimplePhotoTO> photos;

    public List<SimplePhotoTO> getPhotos() {
        return photos;
    }
}
